//定义仓库内部state数据的类型
import {DepartmentArr, HospitalDetail, UserInfo} from "@/api/hospital/type.ts";

export interface DetailState{
    hospitalInfo:HospitalDetail,
    departmentArr:DepartmentArr
}

//用户仓库相关state数据的ts类型定义
export interface UserState{
    visible: boolean,//控制登陆组件的dialog显示与隐藏
    code:string,//存储用户验证码
    userInfo:UserInfo
}